package com.legendshop.openportal.sdk.model.response.v4;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 优惠券获取
 * @Author ljk
 * @Date 2025/6/26 14:25
 */
@Data
@ApiModel(value = "优惠券获取")
public class CouponV4Response implements Serializable {

    @ApiModelProperty("优惠券ID")
    private Long couponId;

    @ApiModelProperty("优惠券名称")
    private String couponName;

    @ApiModelProperty("使用金额")
    private BigDecimal fullPrice;

    @ApiModelProperty("优惠金额")
    private BigDecimal offPrice;

    @ApiModelProperty("活动开始时间")
    private Date startDate;

    @ApiModelProperty("活动结束时间")
    private Date endDate;

    @ApiModelProperty("优惠券的类型  店铺券:shop,指定商品券:product")
    private String couponType;

    @ApiModelProperty("领取上限,-1无上限")
    private Long getLimit;

    @ApiModelProperty("使用说明")
    private String description;

    @ApiModelProperty("用户使用Id")
    private Long useCouponId;

    @ApiModelProperty("优惠券总数量")
    private Long couponNumber;

    @ApiModelProperty("绑定券的数量")
    private Long bindCouponNumber;

    @ApiModelProperty("优惠券状态  0:下线; 1：有效;")
    private Integer status;

    @ApiModelProperty("推广范围:0自主推广、1公开推广、2满减送、3直播送券")
    private Integer promotionScope;

    @ApiModelProperty("领取方式: 0买家领取;1卖家发放")
    private Integer getType;

}
